projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67dc778
)
ngl: Add padding between cached glyphs
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 14 May 2021 22:43:52 +0000
(18:43 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 16 May 2021 02:15:05 +0000
(22:15 -0400)
Without this, adjacent items in the cache sometimes
bleed into the texture for a glyph.
gsk/ngl/gsknglglyphlibrary.c
patch
|
blob
|
history
diff --git
a/gsk/ngl/gsknglglyphlibrary.c
b/gsk/ngl/gsknglglyphlibrary.c
index 2179a804d70d9eb120280401a553ed31758b5cf8..3f998f4a0548acb17b1cbcb07822ba0abb1439f3 100644
(file)
--- a/
gsk/ngl/gsknglglyphlibrary.c
+++ b/
gsk/ngl/gsknglglyphlibrary.c
@@
-318,7
+318,7
@@
gsk_ngl_glyph_library_add (GskNglGlyphLibrary *self,
sizeof *value,
width,
height,
-
0
,
+
1
,
&packed_x, &packed_y);
memcpy (&value->ink_rect, &ink_rect, sizeof ink_rect);